<!-- total sales -->
<template>
  <div class="total_sales">
    <common-card 
      title="累计销售额"
      value="¥ 32,030,211">
      <template>
        <div class="compare_wrap">
          <div class="compare">
            <span>日同比</span>
            <span class="emphasize">7.33%</span>
            <div class="increase"></div>
          </div>
          <div class="compare">
            <span>月同比</span>
            <span class="emphasize">7.33%</span>
            <div class="decrease"></div>
          </div>
        </div>
      </template>
      <template v-slot:footer>
        <span>昨日销售额</span>
        <span class="emphasize">¥ 300,000,000</span>
      </template>
    </common-card>
  </div>
</template>

<script>
import commonCardMixin from "@/mixins/commonCardMixin"
export default {
  mixins:[commonCardMixin],
  data () {
    return {
    }
  },
}

</script>

<style lang='less' scoped>
.compare_wrap{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  .compare{
    font-size: 12px;
    margin-top: 3px;
    color: #666;
    display: flex;
    align-items: center;
  }
}
</style>